From: Doug Goldstein Date: Thu, 14 Jan 2016 09:34:27 +0000 (+0100) Subject: build: introduce CONFIG_NR_CPUS in Kconfig X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1971 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6da11a5ac28215eff9faa78ca26e13c2be1d5eaa;p=xen.git build: introduce CONFIG_NR_CPUS in Kconfig Introduce an option where the user can modifiy the maximum number of supported physical CPUs. Signed-off-by: Doug Goldstein --- diff --git a/xen/arch/Kconfig b/xen/arch/Kconfig new file mode 100644 index 0000000000..cf0acb7e89 --- /dev/null +++ b/xen/arch/Kconfig @@ -0,0 +1,8 @@ + +config NR_CPUS + int "Maximum number of physical CPUs" + range 1 4095 + default "256" if X86 + default "128" if ARM + ---help--- + Specifies the maximum number of physical CPUs which Xen will support. diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig index 2cab17b810..60e923cd46 100644 --- a/xen/arch/arm/Kconfig +++ b/xen/arch/arm/Kconfig @@ -31,6 +31,8 @@ config ARCH_DEFCONFIG menu "Architecture Features" +source "arch/Kconfig" + # Select HAS_GICV3 if GICv3 is supported config HAS_GICV3 bool diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig index d6297679bf..4781b34f78 100644 --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -25,6 +25,8 @@ config ARCH_DEFCONFIG menu "Architecture Features" +source "arch/Kconfig" + config BIGMEM bool "big memory support" default n